#pragma once
#ifndef OSCILLATOR_H
#define OSCILLATOR_H

#include <tsg.h>
using namespace tsg;
using namespace controller;

class COscillator: public Controller<float>
{
public:
	Parameter<float> m_time;
	float m_amplitude;
	float m_frequency;
	float m_offset;

public:
	COscillator(float amplitude, float frequency, float offset);
	//~COscillator(void);

private:
	void doUpdate();
};

#endif
